<template>
    <div class="demo2">
        <!-- 头部 -->
        <div class="header">
            <x-icon type="ios-arrow-left" size="" class="icon-white" @click="$router.go(-1)"></x-icon>选择被检查单位
        </div>
        <!-- 内容部分 -->
        <div class="demo2_main">
            <div class="list3Box">
                <group>
                    <radio :options="radioArr" @on-change="change" v-model="radios"></radio>
                </group>
            </div>
        </div>
    </div>
</template>
<script>
import { Radio, Group } from 'vux'
export default {
  components: {
    Radio,
    Group
  },
  data (){
      return {
          radios:'专项检查',
          radioArr:['日常检查','专项检查','周检查','月度检查','季度检查','半年度检查','其他检查']
      }
  },
  methods: { 
    change (value, label) {
      console.log('change:', value, label)
    }
  }
}

</script>
<style lang="less">
.demo2{
    width: 100%;
    height: 100%;
    .header{
        width: 100%;
        height: 40px;
        line-height: 40px;
        text-align: center;
        position: relative;
        font-size: 18px;
        background: #2269ff;
        color: #fff;
        .vux-x-icon{
            fill:cornsilk;
            position: absolute;
            left: 0;
            top: 5px;
            width: 30px;
            height: 30px;
        }
    }
    .demo2_main{
        height: 603px;
        width: 100%;
        background-color: #ebeef2;
        .list3Box{
            width: 100%;
            height: 603px;
            background-color: #fff;
            ul{
                padding: 0 10px;
                li{
                    height: 60px;
                    line-height: 60px;
                    font-size: 20px;
                    border-bottom: 1px solid #999;
                }
            }
        }
    }
}
</style>
